// 创建新文件用于调试
const Debug = {
    isEnabled: true,
    
    log(...args) {
        if (this.isEnabled) {
            console.log('[Debug]', ...args);
        }
    },
    
    error(...args) {
        if (this.isEnabled) {
            console.error('[Debug Error]', ...args);
        }
    },
    
    api(method, url, data) {
        if (this.isEnabled) {
            console.log(`[API ${method}] ${url}`, data || '');
        }
    }
}; 